package com.laozhao.component;

import java.awt.Image;

import javax.swing.JFrame;

public class DefaultFrame extends JFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6057461843817021358L;

	public DefaultFrame(String title, Image image, int exit) {
		super(title);
		setIconImage(image);
		setDefaultCloseOperation(exit);
		
	}

}
